
package com.greenant.store.bean;

import com.avos.avoscloud.AVClassName;

@AVClassName(AntAVObject.CLASS_VERSIONINFO)
public class VersionInfo extends AntAVObject
{

    public static final String ATTR_VERSIONNAME = "versionName";// 版本号
    public static final String ATTR_VERSIONCODE = "versionCode";// 版本名称
    public static final String ATTR_URL = "url";//下载地址
    public static final String ATTR_DESC = "desc";//升级描述
    public static final String ATTR_FILESIZE = "fileSize";//文件大小

    public String getVersionName()
    {
        return this.getString(ATTR_VERSIONNAME);
    }

    public void setVersionName(String userId)
    {
        this.put(ATTR_VERSIONNAME, userId);
    }

    public String getDesc()
    {
        return this.getString(ATTR_DESC);
    }

    public void setDesc(String userId)
    {
        this.put(ATTR_DESC, userId);
    }

    public String getUrl()
    {
        return this.getString(ATTR_URL);
    }

    public void setUrl(String userId)
    {
        this.put(ATTR_URL, userId);
    }

    public int getVersionCode()
    {
        return this.getInt(ATTR_VERSIONCODE);
    }

    public void setVersionCode(int userId)
    {
        this.put(ATTR_VERSIONCODE, userId);
    }

    public long getFileSize()
    {
        return this.getLong(ATTR_FILESIZE);
    }

    public void setFileSize(long userId)
    {
        this.put(ATTR_FILESIZE, userId);
    }

}
